<?php $data = $GLOBALS['order']; ?>
<div class='win_body'>
<table>
<tr><td>订货电话</td><td><?php echo $data['mobile_from']; ?></td></tr>
<tr><td>收货电话</td><td><?php echo $data['mobile_to']; ?></td></tr>
<tr><td>订单留言</td><td><?php echo $data['message']; ?></td></tr>
<tr><td>付款金额</td><td><?php echo $data['amount']; ?></td></tr>
<td colspan='2'>
<script>
function submit_pay(obj)
{
	if(ajax_commit(obj) == 0)
	{
		$("#pay_<?php echo $data['id']; ?>").html("已付款");
		$.jBox.close();
	}
	 return false	
}
</script>
<form action='index.php?action=order.pay&id=<?php echo $data['id']; ?>' method='POST' onsubmit='return submit_pay(this)'>
<?php  ?>
<textarea style='height: 100px; width: 300px' name='note'>请输入汇款银行等备注信息</textarea>
<input type='submit' value='付款' />
</form>
</td>
</tr>
</table>
</div>
